<template>
	<view :style="themeColor">
		<view class="page">
			<view class="flex benben-position-layout flex flex-wrap align-center goodsDetails_flex_0"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }"
				v-if=" appSystemIdentification!='Wechat'">
				<view class='flex flex-wrap align-center justify-between flex-sub goodsDetails_fd0_0'>
					<view class='flex flex-wrap align-center goodsDetails_fd0_0_c0' @tap.stop="handleJumpDiy"
						data-type="back" data-url="1">
						<text class='fu-iconfont2  goodsDetails_fd0_0_c0_c0'>&#xE794;</text>
					</view>
					<text class='goodsDetails_fd0_0_c1'>详情</text>
					<view class='flex flex-wrap align-center goodsDetails_fd0_0_c0'>
					</view>
				</view>

			</view>
			<view :style="{height: (88+StatusBarRpx)+'rpx'}" v-if=" appSystemIdentification!='Wechat'"></view>
			<!---flex布局flex布局开始-->
			<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout goodsDetails_flex_1">
				<view style="position: relative">
					<swiper ref="benbenSwiperfd1_0" @change="bannerIndexfd1_0 = $event.detail.current"
						class='flex position-relative goodsDetails_fd1_0' previous-margin="0rpx" next-margin="0rpx"
						:display-multiple-items="1" :interval="5000" :duration="500" :autoplay='true' :circular='true'>

						<template v-for='(item,key0) in dataDetails.images'>
							<swiper-item class='flex  goodsDetails_fd1_0' :key='key0'>
								<image class='goodsDetails_fd1_0' mode="aspectFill" :src='item'
									@tap.stop="multiImagePreview(item,dataDetails.images,'')"></image>
							</swiper-item>
						</template>

					</swiper>
					<view style="position: absolute"
						class="flex dot flex align-center justify-center goodsDetails_swiperDotfd1_0">
						<view class='flex flex align-center justify-center goodsDetails_numberfd1_0_c0'>
							<text>{{bannerIndexfd1_0+1}}</text>
							<text>/</text>
							<text>{{(dataDetails.images.length)}}</text>
						</view>

					</view>
				</view>
				<view class='flex flex-wrap align-center goodsDetails_fd1_1'>
					<text class='goodsDetails_fd1_1_c0'>￥</text>
					<text class=' goodsDetails_fd1_1_c1'>
						<text class=' goodsDetails_price1_fd1_1_c1'>{{ dataDetails.shop_price | frontPrice }}</text>
						<text class=' goodsDetails_price2_fd1_1_c1'>{{ dataDetails.shop_price | laterPrice }}</text>
					</text>
					<text class='goodsDetails_fd1_1_c2'>价格</text>
					<text class='goodsDetails_fd1_1_c3'>￥</text>
					<text class='goodsDetails_fd1_1_c4'>{{dataDetails.market_price}}</text>

					<view class='flex  goodsDetails_fd1_1_c5'></view>

					<text class='goodsDetails_fd1_1_c6'>销量</text>
					<text class='goodsDetails_fd1_1_c6'>{{dataDetails.sales_sum}}</text>
					<text class='goodsDetails_fd1_1_c6'>件</text>
				</view>
				<text class='flex-sub goodsDetails_fd1_2'>{{dataDetails.name}}</text>
				<!--     <view   class='flex flex-wrap align-center justify-between goodsDetails_fd1_3'      >
        <text class='goodsDetails_fd1_3_c0'  >营业执照</text>
<text class='goodsDetails_fd1_3_c0'  >经营许可证</text>
<text class='goodsDetails_fd1_3_c0'  >资质证书</text>
<text class='goodsDetails_fd1_3_c0'  >检测证明</text>
<text class='goodsDetails_fd1_3_c0'  >相关批文</text>
</view>
 -->
				<view class='flex flex-direction flex-wrap align-stretch goodsDetails_fd1_4'>
					<view class='flex flex-wrap align-center goodsDetails_fd1_4_c0'
						@tap.stop="selectSpecificationsFunc()">
						<text class='goodsDetails_fd1_4_c0_c0'>规格</text>
						<benben-input class='flex-sub goodsDetails_fd1_4_c0_c1' type="text" :placeholder="`请选择规格`"
							confirm-type="done" :maxlength="-1" :disabled='true'
							placeholder-style="color:rgba(51, 51, 51, 1);font-size:28rpx" v-model="sku_name" />
						<image class='goodsDetails_fd1_4_c0_c2' mode="aspectFit" :src='STATIC_URL+"51.png"'></image>
					</view>
					<view class='flex align-center goodsDetails_fd1_4_c0' @tap.stop="popupShow1657178783443=true">
						<text class='goodsDetails_fd1_4_c1_c0'>送至</text>
						<text class='goodsDetails_fd1_4_c1_c1'
							v-if=" deliveryAddress.address!=''">{{deliveryAddress.address}}</text>
						<text class='goodsDetails_fd1_4_c1_c1' v-if=" deliveryAddress.address==''">请选择配送地址</text>
						<image class='goodsDetails_fd1_4_c1_c3' mode="aspectFit" :src='STATIC_URL+"51.png"'></image>
					</view>
					<view class='flex flex-wrap align-center goodsDetails_fd1_4_c2'
						@tap.stop="popupShow1657179840905=true">
						<text class='goodsDetails_fd1_4_c0_c0'>运费说明</text>
						<image class='goodsDetails_fd1_4_c2_c1' mode="aspectFit" :src='STATIC_URL+"51.png"'></image>
					</view>
				</view>
				<view class='flex flex-wrap align-center goodsDetails_fd1_5'>
					<view class='flex flex-wrap align-center goodsDetails_fd1_5_c0'>
					</view>
					<text class='goodsDetails_fd1_5_c1'>商品评价</text>
					<view class='flex flex-wrap align-center goodsDetails_fd1_5_c2' @tap.stop="handleJumpDiy"
						data-type="navigateTo" :data-url="`/pages/newShop/evaluates/evaluates?id=${dataDetails.id}`">
						<text class='goodsDetails_fd1_5_c2_c0'>查看更多</text>
						<image class='goodsDetails_fd1_5_c2_c1' mode="aspectFit" :src='STATIC_URL+"51.png"'></image>
					</view>
				</view>
				<template v-for='(item,key0) in dataDetails.comment'>
					<view class='flex flex-direction flex-wrap align-stretch' :key='key0'>
						<view class='flex flex-wrap align-start justify-between goodsDetails_fd1_6_c0'>
							<image class='goodsDetails_fd1_6_c0_c0' mode="aspectFit" :src='item.avatar'></image>
							<view class='flex flex-direction flex-wrap align-stretch flex-sub goodsDetails_fd1_6_c0_c1'>
								<text class='goodsDetails_fd1_6_c0_c1_c0'>{{item.nickname}}</text>
								<view class='flex flex-wrap align-center'>
									<template v-for="starNum in [1,2,3,4,5]">
										<image v-if="item.star >= starNum" :key="starNum"
											class='goodsDetails_star1fd1_6_c0_c1_c1' mode="aspectFit"
											:src='STATIC_URL+"90.png"'></image>
										<image v-else :key="starNum" class='goodsDetails_star1fd1_6_c0_c1_c1'
											mode="aspectFit" :src='STATIC_URL+"91.png"'></image>
									</template>
								</view>
							</view>
							<text class='goodsDetails_fd1_6_c0_c2'>{{item.create_time}}</text>
						</view>
						<text class='goodsDetails_fd1_6_c1'>{{item.content}}</text>
						<view class='flex flex-wrap align-center goodsDetails_fd1_6_c2'>
							<template v-for='(child,key1) in item.thumb'>
								<view class='flex flex-wrap align-center goodsDetails_fd1_6_c2_c0' :key='key1'>
									<image class='goodsDetails_fd1_6_c2_c0_c0' mode="aspectFill" :src='child'
										@tap.stop="singleImagePreview(child)"></image>
								</view>
							</template>

						</view>
						<view class='flex flex-wrap align-center goodsDetails_fd1_6_c3'>
							<text class='goodsDetails_fd1_6_c3_c0'>{{item.key_name}}</text>
						</view>
					</view>
				</template>

				<benben-empty :list-data="dataDetails.comment">
					<view class='flex flex-direction flex-wrap align-center goodsDetails_fd1_7'>
						<image class='goodsDetails_fd1_7_c0' mode="widthFix" :src='STATIC_URL+"62.png"'></image>

					</view>
				</benben-empty>
				<view class='flex flex-wrap align-center goodsDetails_fd1_8'>
					<view class='flex flex-wrap align-center goodsDetails_fd1_5_c0'>
					</view>
					<text class='goodsDetails_fd1_5_c1'>商品详情</text>
				</view>
				<view class='flex flex-wrap align-center goodsDetails_fd1_9'>
					<jyf-parser class='goodsDetails_fd1_9_c0' :html="dataDetails.body | richTextFormat">
					</jyf-parser>
				</view>
			</view>

			<!---flex布局flex布局结束-->
			<benben-specs-popup ref="specsPopup1695870781235" class='goodsDetails_flex_specs_2' price-name='shop_price'
				:speclist='dataDetails.spec_list' :skulist='dataDetails.sku_list' :sku-id.sync='sku_id'
				:sku-name.sync='sku_name' :price.sync='dataDetails.shop_price' :thumb.sync='dataDetails.thumb'
				:market-price.sync='dataDetails.market_price' :stock.sync='dataDetails.stock' :number.sync='buy_num'
				@addCart="addBuyShopFunc()" @buyNow="skuBuyNowFunc()">
			</benben-specs-popup>
			<benben-popup v-model="popupShow1657179840905" :mask="true" :mask-close-able="true" mode='bottom'>
				<!---运费弹窗flex布局开始-->
				<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout goodsDetails_flex_3">
					<view class='flex flex-wrap align-center justify-between goodsDetails_fd3_0'>
						<view class='flex flex-wrap align-center goodsDetails_fd3_0_c0'>
						</view>
						<view class='flex flex-wrap align-center'>
							<image class='goodsDetails_fd3_0_c1_c0' mode="aspectFit" :src='STATIC_URL+"63.png"'></image>
							<text class='goodsDetails_fd3_0_c1_c1'>运费说明</text>
							<image class='goodsDetails_fd3_0_c1_c0' mode="aspectFit" :src='STATIC_URL+"64.png"'></image>
						</view>
						<image class='goodsDetails_fd3_0_c0' mode="aspectFit" :src='STATIC_URL+"65.png"'
							@tap.stop="popupShow1657179840905=false"></image>
					</view>

					<scroll-view class='goodsDetails_fd3_1' :scroll-x='true' :scroll-y='true' :show-scrollbar='true'>
						<view class='flex benben-scroll flex align-center'>
							<text class='goodsDetails_fd3_1_c0'>{{dataDetails.freight_explain}}</text>
						</view>
					</scroll-view>

				</view>

				<!---运费弹窗flex布局结束-->

			</benben-popup>
			<benben-popup v-model="popupShow1657178783443" :mask="true" :mask-close-able="true" mode='bottom'>
				<!---选择地址弹窗flex布局开始-->
				<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout goodsDetails_flex_4">
					<view class='flex flex-direction flex-wrap align-stretch justify-center goodsDetails_fd4_0'>
						<view class='flex flex-wrap align-center justify-between goodsDetails_fd4_0_c0'>
							<view class='flex flex-wrap align-center goodsDetails_fd4_0_c0_c0'>
							</view>
							<view class='flex flex-wrap align-center'>
								<image class='goodsDetails_fd4_0_c0_c1_c0' mode="aspectFit" :src='STATIC_URL+"53.png"'>
								</image>
								<text class='goodsDetails_fd4_0_c0_c1_c1'>配送至</text>
								<image class='goodsDetails_fd4_0_c0_c1_c0' mode="aspectFit" :src='STATIC_URL+"54.png"'>
								</image>
							</view>
							<image class='goodsDetails_fd4_0_c0_c0' mode="aspectFit" :src='STATIC_URL+"66.png"'
								@tap.stop="popupShow1657178783443=false"></image>
						</view>
						<benben-select-diy ref="showSelectPopup1667379679096"
							class-name='flex flex-direction align-stretch flex' :items.sync="addressList"
							v-model="deliveryAddress.id" :label.sync="deliveryAddress.address" @change="AddressFunc()"
							default-type="id" default-label="address_detail" :allow-cancel='true' type="radio"
							:disabled='false'>
							<template v-for='(item,key0) in addressList'>
								<view v-if="item.isSelected" class='flex align-center flex goodsDetails_fd4_0_c1_c0'
									:key="key0" @tap="$refs.showSelectPopup1667379679096.tapHandle(key0)">
									<view class='flex flex-wrap align-start flex-sub'>
										<image class='goodsDetails_fd4_0_c1_c0_c0_c0' mode="aspectFit"
											:src='STATIC_URL+"67.png"'></image>
										<text
											class='flex-sub goodsDetails_fd4_0_c1_c0_c0_c1'>{{item.address_detail}}</text>
									</view>
								</view>
								<view v-else class='flex align-center flex goodsDetails_fd4_0_c1_c0' :key="key0"
									@tap="$refs.showSelectPopup1667379679096.tapHandle(key0)">
									<view class='flex flex-wrap align-start flex-sub'>
										<image class='goodsDetails_fd4_0_c1_c0_c0_c0' mode="aspectFit"
											:src='STATIC_URL+"68.png"'></image>
										<text
											class='flex-sub goodsDetails_fd4_0_c1_c1_c0_c1'>{{item.address_detail}}</text>
									</view>
								</view>
							</template></benben-select-diy>
						<benben-empty :list-data="addressList">
							<view class='flex flex-direction flex-wrap align-center goodsDetails_fd4_0_c2'>
								<image class='goodsDetails_fd4_0_c2_c0' mode="widthFix" :src='STATIC_URL+"62.png"'>
								</image>
								<text class='goodsDetails_fd4_0_c2_c1'></text>

							</view>
						</benben-empty>
					</view>
					<button class='goodsDetails_fd4_1' @tap.stop="handleJumpDiy" data-type="navigateTo"
						:data-url="`/pages/my/addAddress/addAddress`">新增地址</button>
				</view>

				<!---选择地址弹窗flex布局结束-->

			</benben-popup>
			<view class="flex flex-direction align-stretch benben-position-layout flex goodsDetails_flex_5">
				<view class='flex align-center justify-between flex-sub goodsDetails_fd5_0'>
					<view class='flex flex-wrap align-center'>
						<view class='flex flex-direction align-center goodsDetails_fd5_0_c0_c0'
							@tap.stop="handleJumpDiy" data-type="navigateTo"
							:data-url="`/pages/my/contactCustomerService/contactCustomerService`">
							<image class='goodsDetails_fd5_0_c0_c0_c0' mode="aspectFit" :src='STATIC_URL+"94.png"'>
							</image>
							<text class='goodsDetails_fd5_0_c0_c0_c1'>客服</text>
						</view>
						<view class='flex flex-direction align-center' @tap.stop="handleJumpDiy" data-type="navigateTo"
							:data-url="`/pages/newShop/shoppingCart/shoppingCart`">
							<image class='goodsDetails_fd5_0_c0_c0_c0' mode="aspectFit" :src='STATIC_URL+"396.png"'>
							</image>
							<text class='goodsDetails_fd5_0_c0_c0_c1'>购物车</text>
						</view>
					</view>
					<view class='flex flex-wrap align-center goodsDetails_fd5_0_c1'>
						<button class='goodsDetails_fd5_0_c1_c0' @tap.stop="addBuyFunc()">加入购物车</button>
						<button class='goodsDetails_fd5_0_c1_c1' @tap.stop="buyNowFunc()">立即购买</button>
					</view>
				</view>

			</view>
			<view :style="{height: '108rpx'}"></view>


		</view>
	</view>
</template>
<script>
	import {
		validate
	} from '@/common/utils/validate.js'

	export default {
		components: {},


		data() {
			return {
				"popupShow1657178783443": false,
				"popupShow1657179840905": false,
				"bannerIndexfd1_0": 0,
				"tabs": "1",
				"addressType": [{
					"name": "1",
					"value": "1",
					"image": ""
				}, {
					"name": "2",
					"value": "2",
					"image": ""
				}, {
					"name": "3",
					"value": "3",
					"image": ""
				}],
				"address_id": "",
				"dataDetails": {
					"id": "",
					"cid": "",
					"adslogan": "",
					"name": "",
					"sales_sum": "",
					"spectypeid": "",
					"click": "",
					"is_recommend": "",
					"is_new": "",
					"is_hot": "",
					"shop_price": "",
					"member_price": "",
					"market_price": "",
					"images": [],
					"thumb": "",
					"body": "",
					"description": "",
					"stock": "",
					"is_spec": "",
					"is_shipping": "",
					"freight_price": "",
					"support_self_mention": "",
					"freight_template_id": "",
					"partner_id": "",
					"video": "",
					"video_img": "",
					"share_award_money": "",
					"discounts": "",
					"spec_list": [],
					"sku_list": {
						"sku_id": "",
						"key": "",
						"key_name": "",
						"member_price": "",
						"shop_price": "",
						"market_price": "",
						"stock": ""
					},
					"coupon_list": [],
					"activity_info": {
						"activity_type": ""
					},
					"user_level": "",
					"is_collect": "",
					"comment_total": "",
					"praise_rate": "",
					"freight_explain": "",
					"freight_name": "",
					"sale_top_name": "",
					"question_total": "",
					"question_list": [],
					"goods_type": "",
					"chat_price": "",
					"shop_info": {
						"store_id": "",
						"store_name": "",
						"store_logo": "",
						"level_name": "",
						"store_star": "",
						"store_collection_num": ""
					},
					"warm_prompt": "",
					"comment": []
				},
				"buy_num": 1,
				"sku_id": "",
				"addressList": [],
				"sku_name": "",
				"deliveryAddress": {
					"id": "",
					"address": ""
				},
				"shop_id": null
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},
			isLogin() {
				return this.$store.state.token == '' ? false : true;
			},
			/**
			 * @returns 
			 * Android       安卓
			 * IOS       苹果
			 * Web       H5 或 pc
			 * Wechat       微信小程序
			 * Alipay       支付宝小程序
			 * Baidu       百度小程序
			 * ByteBounce       抖音小程序
			 * 360       360小程序
			 * FastApp       快应用
			 */
			appSystemIdentification() {
				return this.$store.state.appSystemIdentification
			}
		},
		watch: {},
		onLoad(options) {
			let {
				shop_id
			} = options
			if (shop_id !== undefined) this.shop_id = shop_id
			this.DataDetailsFunc()
			this.getAddressFunc()
			uni.showShareMenu({
				withShareTicket: true,
				//设置下方的Menus菜单，才能够让发送给朋友与分享到朋友圈两个按钮可以点击
				menus: ["shareAppMessage", "shareTimeline"]
			})
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {

		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onShareAppMessage() {
			return {
				title: '高整无忧-数字家政平台',
				path: `/pages/newShop/goodsDetails/goodsDetails?shop_id=${this.shop_id}`
			}
		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			//选择规格
			selectSpecificationsFunc() {
				this.$refs.specsPopup1695870781235.open('all');
			},
			//获取商品详情
			async DataDetailsFunc() {
				//请求方法
				//数据验证

				let datadataDetails = await this.$api.get(global.apiUrls.post641987361d887, {
					goods_id: this.shop_id
				});

				if (datadataDetails.data.code != 1) {
					this.$message.info(datadataDetails.data.msg);
					return
				}
				let infodataDetails = datadataDetails.data;
				this.dataDetails = infodataDetails.data

			},
			//获取地址
			async getAddressFunc() {
				if (this.isLogin === true) {
					//请求方法
					//数据验证

					let dataaddressList = await this.$api.get(global.apiUrls.post636f7683cf195, {

					});

					if (dataaddressList.data.code != 1) {
						this.$message.info(dataaddressList.data.msg);
						return
					}
					let infoaddressList = dataaddressList.data.data;
					this.addressList = infoaddressList.data

				}
			},
			//加入购物车
			addBuyFunc() {
				this.$refs.specsPopup1695870781235.open('cart');
			},
			//立即购买
			buyNowFunc() {
				this.$refs.specsPopup1695870781235.open('buy');
			},
			//添加购物车
			async addBuyShopFunc() {
				if (this.isLogin === true) {
					//请求方法
					//数据验证

					let data62b996b0120bf = await this.$api.get(global.apiUrls.post62b996b0120bf, {
						goods_id: this.shop_id,
						num: this.buy_num,
						sku_id: this.sku_id
					});

					if (data62b996b0120bf.data.code != 1) {
						this.$message.info(data62b996b0120bf.data.msg);
						return
					}
					this.$refs.specsPopup1695870781235.close();
					this.$message.info('添加成功');
				} else {
					this.$urouter.navigateTo(`/pages/tabBar/login/login`);
				}
			},
			//规格立即购买
			skuBuyNowFunc() {
				this.$refs.specsPopup1695870781235.close();
				this.$urouter.navigateTo(
					`/pages/newShop/otherPay/otherPay?good_id=${this.dataDetails.id}&sku_id=${this.sku_id}&buy_num=${this.buy_num}&address_id=${this.address_id}`
				);
			},
			//选中地址
			AddressFunc() {
				this.popupShow1657178783443 = false;
			}
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: #fff;
		background-size: 100% auto;
	}

	.goodsDetails_flex_0 {
		background: #fff;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.goodsDetails_fd0_0_c1 {
		font-size: 36rpx;
		font-weight: 500;
		color: #333;
		line-height: 50rpx;
	}

	.goodsDetails_fd0_0_c0_c0 {
		font-size: 32rpx;
		font-weight: 500;
		color: #333;
		line-height: 88rpx;
	}

	.goodsDetails_fd0_0_c0 {
		width: 120rpx;
		height: 88rpx;
	}

	.goodsDetails_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
		height: 88rpx;
	}

	.goodsDetails_flex_1 {
		padding: 0rpx 0rpx 40rpx 0rpx;
	}

	::v-deep .goodsDetails_fd1_9_c0 {
		width: 100%;
	}

	.goodsDetails_fd1_9 {
		margin: 0rpx 32rpx 0rpx 32rpx;
	}

	.goodsDetails_fd1_8 {
		border-top: 5px solid rgba(246, 247, 249, 1);
		padding: 24rpx 32rpx 10rpx 32rpx;
	}

	.goodsDetails_fd1_7_c0 {
		width: 400rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.goodsDetails_fd1_7 {
		width: 100%;
		padding: 50rpx 0rpx 50rpx 0rpx;
	}

	.goodsDetails_fd1_6_c3_c0 {
		color: #999999;
		font-size: 24rpx;
		font-weight: 400;
		margin: 0rpx auto 0rpx 0rpx;
	}

	.goodsDetails_fd1_6_c3 {
		padding: 0rpx 32rpx 32rpx 32rpx;
	}

	.goodsDetails_fd1_6_c2_c0_c0 {
		width: 226rpx;
		height: 226rpx;
		border-radius: 16rpx;
	}

	.goodsDetails_fd1_6_c2_c0 {
		margin: 0rpx 4rpx 16rpx 0rpx;
	}

	.goodsDetails_fd1_6_c2 {
		padding: 0rpx 26rpx 24rpx 32rpx;
	}

	.goodsDetails_fd1_6_c1 {
		-webkit-line-clamp: 2;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		margin: 24rpx 32rpx 24rpx 32rpx;
		font-size: 28rpx;
		font-weight: 400;
		color: #333;
	}

	.goodsDetails_fd1_6_c0_c2 {
		font-size: 24rpx;
		color: rgba(170, 170, 170, 1);
		max-width: 200rpx;
		-webkit-line-clamp: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
	}

	.goodsDetails_star1fd1_6_c0_c1_c1 {
		height: 18rpx;
		margin: 0rpx 5rpx 0rpx 5rpx;
		width: 18rpx;
	}

	.goodsDetails_star1fd1_6_c0_c1_c1 {
		width: 18rpx;
		height: 18rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		margin: 0rpx 5rpx 0rpx 5rpx;
	}

	.goodsDetails_fd1_6_c0_c1_c0 {
		font-weight: 500;
		font-size: 28rpx;
		color: #333;
		-webkit-line-clamp: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		line-height: 33rpx;
		margin: 0rpx 0rpx 8rpx 0rpx;
	}

	.goodsDetails_fd1_6_c0_c1 {
		padding: 0rpx 0rpx 0rpx 16rpx;
	}

	.goodsDetails_fd1_6_c0_c0 {
		width: 64rpx;
		height: 64rpx;
		border-radius: 32rpx 32rpx 32rpx 32rpx;
	}

	.goodsDetails_fd1_6_c0 {
		padding: 32rpx 32rpx 0rpx 32rpx;
	}

	.goodsDetails_fd1_5_c2_c1 {
		width: 12rpx;
		height: 22rpx;
		margin: 0rpx 0rpx 4rpx 16rpx;
	}

	.goodsDetails_fd1_5_c2_c0 {
		line-height: 33rpx;
		font-size: 24rpx;
		font-weight: 500;
		color: rgba(153, 153, 153, 1);
	}

	.goodsDetails_fd1_5_c2 {
		margin: 0rpx 0rpx 0rpx auto;
	}

	.goodsDetails_fd1_5_c1 {
		margin: 0rpx 0rpx 0rpx 16rpx;
		font-size: 32rpx;
		font-weight: 400;
		color: #333;
		line-height: 45rpx;
	}

	.goodsDetails_fd1_5_c0 {
		background: var(--benbenbgColor2);
		width: 7rpx;
		height: 30rpx;
		background-size: 100% auto !important;
		border-radius: 8rpx 8rpx 8rpx 8rpx;
	}

	.goodsDetails_fd1_5 {
		padding: 0rpx 32rpx 0rpx 32rpx;
		margin: 24rpx 0rpx 0rpx 0rpx;
	}

	.goodsDetails_fd1_4_c2_c1 {
		width: 12rpx;
		height: 22rpx;
		margin: 0rpx 0rpx 0rpx auto;
	}

	.goodsDetails_fd1_4_c2 {
		padding: 32rpx 0rpx 32rpx 0rpx;
	}

	.goodsDetails_fd1_4_c1_c3 {
		width: 12rpx;
		height: 22rpx;
		margin: 0rpx 0rpx 0rpx 12rpx;
	}

	.goodsDetails_fd1_4_c1_c1 {
		line-height: 36rpx;
		font-size: 24rpx;
		font-weight: 500;
		color: #333333;
	}

	.goodsDetails_fd1_4_c1_c0 {
		line-height: 38rpx;
		font-size: 28rpx;
		font-weight: 500;
		color: #333333;
		margin: 0rpx auto 0rpx 0rpx;
	}

	.goodsDetails_fd1_4_c0_c2 {
		width: 12rpx;
		height: 22rpx;
	}

	.goodsDetails_fd1_4_c0_c1 {
		text-align: right;
		font-size: 24rpx;
		font-weight: 400;
		color: #333;
		line-height: 36rpx;
		padding: 0rpx 12rpx 0rpx 0rpx;
	}

	.goodsDetails_fd1_4_c0_c0 {
		line-height: 38rpx;
		font-size: 28rpx;
		font-weight: 500;
		color: #333333;
	}

	.goodsDetails_fd1_4_c0 {
		border-bottom: 1px solid #eee;
		padding: 32rpx 0rpx 32rpx 0rpx;
	}

	.goodsDetails_fd1_4 {
		border-top: 5px solid rgba(246, 247, 249, 1);
		border-bottom: 5px solid rgba(246, 247, 249, 1);
		padding: 0rpx 32rpx 0rpx 32rpx;
	}

	.goodsDetails_fd1_3_c0 {
		color: #999999;
		font-size: 20rpx;
		font-weight: 400;
		line-height: 28rpx;
	}

	.goodsDetails_fd1_3 {
		background: rgba(252, 252, 252, 1);
		background-size: 100% auto !important;
		padding: 10rpx 24rpx 10rpx 24rpx;
		margin: 0rpx 0rpx 24rpx 0rpx;
	}

	.goodsDetails_fd1_2 {
		line-height: 46rpx;
		font-size: 32rpx;
		font-weight: 700;
		color: #333333;
		-webkit-line-clamp: 2;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		margin: 32rpx 32rpx 32rpx 32rpx;
	}

	.goodsDetails_fd1_1_c6 {
		line-height: 36rpx;
		font-size: 20rpx;
		font-weight: 500;
		color: #FFFFFF;
	}

	.goodsDetails_fd1_1_c5 {
		background: rgba(255, 255, 255, 1);
		width: 1rpx;
		height: 40rpx;
		margin: 0rpx 32rpx 0rpx auto;
		transform: scaleX(0.5);
	}

	.goodsDetails_fd1_1_c4 {
		font-size: 20rpx;
		font-weight: 500;
		color: #FFFFFF;
		text-decoration: line-through;
		height: 30rpx;
		line-height: 30rpx;
	}

	.goodsDetails_fd1_1_c3 {
		font-size: 20rpx;
		font-weight: 500;
		color: #FFFFFF;
		text-decoration: line-through;
		height: 30rpx;
	}

	.goodsDetails_fd1_1_c2 {
		font-size: 20rpx;
		font-weight: 500;
		color: #FFFFFF;
		margin: 0rpx 0rpx 0rpx 6rpx;
	}

	.goodsDetails_price2_fd1_1_c1 {
		font-size: 22rpx;
	}

	.goodsDetails_price1_fd1_1_c1 {
		font-size: 40rpx;
	}

	.goodsDetails_fd1_1_c1 {
		color: #FFFFFF;
		font-weight: 700;
	}

	.goodsDetails_fd1_1_c0 {
		font-size: 20rpx;
		font-weight: 700;
		color: #FFFFFF;
	}

	.goodsDetails_fd1_1 {
		background: url(image-path('395.png')) no-repeat;
		background-size: 100% auto !important;
		padding: 24rpx 32rpx 18rpx 12rpx;
	}

	.goodsDetails_numberfd1_0_c0 {
		background: rgba(0, 0, 0, 0.5);
		position: absolute;
		bottom: 20rpx;
		right: 30rpx;
		width: 73rpx;
		height: 32rpx;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		font-size: 24rpx;
		color: #FFFFFF;
		line-height: 46rpx;
		font-weight: 400;
	}

	.goodsDetails_fd1_0 {
		width: 750rpx;
		height: 750rpx;
	}

	.goodsDetails_swiperDotUnselectedfd1_0 {
		border: 1px solid rgba(0, 0, 0, 0.3);
		background: rgba(0, 0, 0, 0.3);
		width: 16rpx;
		height: 16rpx;
		border-radius: 100rpx 100rpx 100rpx 100rpx;
		margin: 0rpx 6rpx 0rpx 0rpx;
		font-size: 24rpx;
		color: #fff;
	}

	.goodsDetails_swiperDotSelectedfd1_0 {
		border: 1px solid #00A7FF;
		background: #00A7FF;
		width: 16rpx;
		height: 16rpx;
		border-radius: 100rpx 100rpx 100rpx 100rpx;
		margin: 0rpx 6rpx 0rpx 0rpx;
		font-size: 24rpx;
		color: #fff;
	}

	::v-deep .goodsDetails_swiperDotfd1_0 {
		position: absolute;
		bottom: 20rpx;
		left: 0rpx;
		right: 0rpx;
	}

	.goodsDetails_flex_specs_2 {
		--active-sku-tag-color: #fa2033;
		--active-sku-tag-bg: #fff2ef;
		--sku-tag-color: #33333;
		--sku-tag-bg: #f5f5f5;
		--cart-btn-bg: #343434;
		--buy-btn-bg: linear-gradient(126deg, #fa2033 0%, #ff6530 100%);
		--confirm-btn-bg: linear-gradient(126deg, #fa2033 0%, #ff6530 100%);
	}

	.goodsDetails_flex_3 {
		background: #fff;
		padding: 0rpx 32rpx 40rpx 32rpx;
		border-radius: 24rpx 24rpx 0rpx 0rpx;
		background-size: 100% auto !important;
	}

	.goodsDetails_fd3_1_c0 {
		line-height: 52rpx;
		font-size: 26rpx;
		font-weight: 400;
		color: #333333;
	}

	.goodsDetails_fd3_1 {
		touch-action: none;
		margin: 44rpx 0rpx 0rpx 0rpx;
		max-height: 500rpx;
	}

	.goodsDetails_fd3_0_c1_c1 {
		line-height: 46rpx;
		font-size: 32rpx;
		font-weight: 500;
		color: #333333;
		margin: 0rpx 20rpx 0rpx 20rpx;
	}

	.goodsDetails_fd3_0_c1_c0 {
		width: 28rpx;
		height: 10rpx;
	}

	.goodsDetails_fd3_0_c0 {
		width: 28rpx;
		height: 28rpx;
	}

	.goodsDetails_fd3_0 {
		margin: 40rpx 0rpx 0rpx 0rpx;
	}

	.goodsDetails_flex_4 {
		background: #fff;
		border-radius: 24rpx 24rpx 0rpx 0rpx;
		background-size: 100% auto !important;
	}

	.goodsDetails_fd4_1 {
		background: rgba(227, 29, 26, 1);
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		font-size: 32rpx;
		color: #fff;
		width: 750rpx;
		height: 100rpx;
		line-height: 100rpx;
		font-weight: 500;
	}

	.goodsDetails_fd4_0_c2_c1 {
		padding: 30rpx 0rpx 0rpx 0rpx;
		color: #929292;
	}

	.goodsDetails_fd4_0_c2_c0 {
		width: 400rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.goodsDetails_fd4_0_c2 {
		width: 100%;
		padding: 50rpx 0rpx 50rpx 0rpx;
	}

	.goodsDetails_fd4_0_c1_c1_c0_c1 {
		line-height: 46rpx;
		font-size: 28rpx;
		font-weight: 700;
		color: rgba(153, 153, 153, 1);
		margin: 0rpx 0rpx 0rpx 20rpx;
	}

	.goodsDetails_fd4_0_c1_c0_c0_c1 {
		line-height: 46rpx;
		font-size: 28rpx;
		font-weight: 700;
		color: #333333;
		margin: 0rpx 0rpx 0rpx 20rpx;
	}

	.goodsDetails_fd4_0_c1_c0_c0_c0 {
		width: 24rpx;
		height: 30rpx;
		margin: 10rpx 0rpx 0rpx 0rpx;
	}

	.goodsDetails_fd4_0_c1_c0 {
		margin: 0rpx 0rpx 48rpx 0rpx;
	}

	.goodsDetails_fd4_0_c0_c1_c1 {
		line-height: 46rpx;
		font-size: 32rpx;
		font-weight: 500;
		color: #333333;
		margin: 0rpx 20rpx 0rpx 20rpx;
	}

	.goodsDetails_fd4_0_c0_c1_c0 {
		width: 28rpx;
		height: 10rpx;
	}

	.goodsDetails_fd4_0_c0_c0 {
		width: 40rpx;
		height: 40rpx;
	}

	.goodsDetails_fd4_0_c0 {
		margin: 40rpx 0rpx 40rpx 0rpx;
	}

	.goodsDetails_fd4_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
	}

	.goodsDetails_flex_5 {
		background: #fff;
		width: 750rpx;
		height: 108rpx;
		overflow: hidden;
		z-index: 10;
		bottom: calc(0rpx + var(--window-bottom));
		background-size: 100% auto !important;
	}

	.goodsDetails_fd5_0_c1_c1 {
		background: #E31D1A;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		font-size: 32rpx;
		color: #fff;
		width: 224rpx;
		height: 108rpx;
		line-height: 108rpx;
		font-weight: 500;
	}

	.goodsDetails_fd5_0_c1_c0 {
		background: #FF8330;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		font-size: 32rpx;
		color: #fff;
		width: 224rpx;
		height: 108rpx;
		line-height: 108rpx;
		font-weight: 500;
	}

	.goodsDetails_fd5_0_c1 {
		margin: 0rpx 0rpx 0rpx 0rpx;
	}

	.goodsDetails_fd5_0_c0_c0_c1 {
		font-size: 22rpx;
		font-weight: 500;
		color: #666666;
		margin: 6rpx 0rpx 0rpx 0rpx;
	}

	.goodsDetails_fd5_0_c0_c0_c0 {
		width: 44rpx;
		height: 44rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.goodsDetails_fd5_0_c0_c0 {
		margin: 0rpx 48rpx 0rpx 0rpx;
	}

	.goodsDetails_fd5_0 {
		padding: 0rpx 0rpx 0rpx 64rpx;
	}
</style>